package com.wywah.yunduo.orm.bean;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 内部员工表
 * </p>
 *
 * @author wywah
 * @since 2024-10-27
 */
@TableName("sys_user_info")
public class UserInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 用户编号
     */
    @TableId("yhbh")
    private String yhbh;

    /**
     * 身份证号
     */
    private String sfzmhm;

    /**
     * 姓名
     */
    private String xm;

    /**
     * 昵称
     */
    private String nickname;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 创建者的用户编号
     */
    private String creator;

    /**
     * 修改时间
     */
    private LocalDateTime updateTime;

    /**
     * 修改者用户编号
     */
    private String modifier;

    /**
     * 加密盐值
     */
    private String salt;

    /**
     * 电话号码
     */
    private String phone;

    /**
     * 头像
     */
    private String avatar;

    /**
     * 邮箱地址
     */
    private String email;

    /**
     * 用户状态 0 删除 1 有效 2 无效 3 锁定
     */
    private Integer zt;

    /**
     * 微信登录openId
     */
    private String wxOpenid;

    /**
     * 小程序openId
     */
    private String miniOpenid;

    /**
     * QQ openId
     */
    private String qqOpenid;

    /**
     * 用户类型 0 员工 1 用户
     */
    private String yhlx;

    /**
     * 密码
     */
    private String password;

    /**
     * 加密方式 0003
     */
    private String encrpty;

    public String getYhbh() {
        return yhbh;
    }

    public void setYhbh(String yhbh) {
        this.yhbh = yhbh;
    }

    public String getSfzmhm() {
        return sfzmhm;
    }

    public void setSfzmhm(String sfzmhm) {
        this.sfzmhm = sfzmhm;
    }

    public String getXm() {
        return xm;
    }

    public void setXm(String xm) {
        this.xm = xm;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    public String getModifier() {
        return modifier;
    }

    public void setModifier(String modifier) {
        this.modifier = modifier;
    }

    public String getSalt() {
        return salt;
    }

    public void setSalt(String salt) {
        this.salt = salt;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public Integer getZt() {
        return zt;
    }

    public void setZt(Integer zt) {
        this.zt = zt;
    }

    public String getWxOpenid() {
        return wxOpenid;
    }

    public void setWxOpenid(String wxOpenid) {
        this.wxOpenid = wxOpenid;
    }

    public String getMiniOpenid() {
        return miniOpenid;
    }

    public void setMiniOpenid(String miniOpenid) {
        this.miniOpenid = miniOpenid;
    }

    public String getQqOpenid() {
        return qqOpenid;
    }

    public void setQqOpenid(String qqOpenid) {
        this.qqOpenid = qqOpenid;
    }

    public String getYhlx() {
        return yhlx;
    }

    public void setYhlx(String yhlx) {
        this.yhlx = yhlx;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getEncrpty() {
        return encrpty;
    }

    public void setEncrpty(String encrpty) {
        this.encrpty = encrpty;
    }

    @Override
    public String toString() {
        return "UserInfo{" +
                "yhbh = " + yhbh +
                ", sfzmhm = " + sfzmhm +
                ", xm = " + xm +
                ", nickname = " + nickname +
                ", createTime = " + createTime +
                ", creator = " + creator +
                ", updateTime = " + updateTime +
                ", modifier = " + modifier +
                ", salt = " + salt +
                ", phone = " + phone +
                ", avatar = " + avatar +
                ", email = " + email +
                ", zt = " + zt +
                ", wxOpenid = " + wxOpenid +
                ", miniOpenid = " + miniOpenid +
                ", qqOpenid = " + qqOpenid +
                ", yhlx = " + yhlx +
                ", password = " + password +
                "}";
    }
}

